package com.HelloWord;

/**
 * Created by onlylove on 2016/11/7.
 */
public class SubClass extends SuperClass {
    int val;
    String stringTxt;
    SubClass(){
        super();
        val = 200;
        System.out.println("子类val="+val);
    }
    void showString(String stringTxt){
        this.stringTxt = stringTxt;
        System.out.println(stringTxt);
    }
}
